package models

import "github.com/jinzhu/gorm"

type OrganizationActivity struct {
	gorm.Model
	Name         string `json:"name" gorm:"size:128;unique"`
	Introduction string `json:"introduction" gorm:"type:text"`

	// 发布活动的社团
	Organization   *Organization `json:"organization"`
	OrganizationID uint          `json:"organization_id"`

	// 发布活动的社团管理员
	OrganizationAdmin   *OrganizationAdmin `json:"organization_admin"`
	OrganizationAdminID uint               `json:"organization_admin_id"`
}
